package com.company.project.model.VO;

import com.company.project.model.VtProduct;

import java.util.List;

public class ProductVO extends VtProduct {
    private Integer id;

    private Integer parentid;

    private String name;

    /**
     * 单价
     */
    private Float unitprice;

    /**
     * 模数
     */
    private Float modulus;

    private Short listorder;

    private List<VtProduct> children;

    private Integer value;

    private String text;
    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return parentid
     */
    public Integer getParentid() {
        return parentid;
    }

    /**
     * @param parentid
     */
    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取单价
     *
     * @return unitprice - 单价
     */
    public Float getUnitprice() {
        return unitprice;
    }

    /**
     * 设置单价
     *
     * @param unitprice 单价
     */
    public void setUnitprice(Float unitprice) {
        this.unitprice = unitprice;
    }

    /**
     * 获取模数
     *
     * @return modulus - 模数
     */
    public Float getModulus() {
        return modulus;
    }

    /**
     * 设置模数
     *
     * @param modulus 模数
     */
    public void setModulus(Float modulus) {
        this.modulus = modulus;
    }

    /**
     * @return listorder
     */
    public Short getListorder() {
        return listorder;
    }

    /**
     * @param listorder
     */
    public void setListorder(Short listorder) {
        this.listorder = listorder;
    }

    public List<VtProduct> getChildren() {
        return children;
    }

    public void setChildren(List<VtProduct> children) {
        this.children = children;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}